﻿package dut.ir.lxb.weibo.bean;

public class EventBean
{
	protected String eventname;
	
	protected String eventCode;
	
	protected int focusCount;
	
	protected String description;
	
	protected String url;
	
	protected String hostPerson;

	protected String type;
	
	
	
	@Override
	public int hashCode()
	{

		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((eventname == null) ? 0 : eventname.hashCode());
		result = prime * result + ((url == null) ? 0 : url.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj)
	{

		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EventBean other = (EventBean) obj;
		if (eventname == null)
		{
			if (other.eventname != null)
				return false;
		} else if (!eventname.equals(other.eventname))
			return false;
		if (url == null)
		{
			if (other.url != null)
				return false;
		} else if (!url.equals(other.url))
			return false;
		return true;
	}
	

	public String getEventname()
	{
	
		return eventname;
	}

	public void setEventname(String eventname)
	{
	
		this.eventname = eventname;
	}

	public String getUrl()
	{
	
		return url;
	}

	public void setUrl(String url)
	{
	
		this.url = url;
	}

	public String getEventCode()
	{
	
		return eventCode;
	}

	public void setEventCode(String eventCode)
	{
	
		this.eventCode = eventCode;
	}

	public int getFocusCount()
	{
	
		return focusCount;
	}

	public void setFocusCount(int readCount)
	{
	
		this.focusCount = readCount;
	}

	public String getDescription()
	{
	
		return description;
	}

	public void setDescription(String description)
	{
	
		this.description = description;
	}

	public String getHostPerson()
	{
	
		return hostPerson;
	}

	public void setHostPerson(String hostPerson)
	{
	
		this.hostPerson = hostPerson;
	}

	public String getType()
	{
	
		return type;
	}

	public void setType(String type)
	{
	
		this.type = type;
	}
	
	
	
	
	
}
